package example.lec05;


import java.util.Date;
import java.util.List;

public class User2 {
    private int id;
    private String username;
    private List<Date>importantDate;
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public List<Date>getImportantDate() {
        return importantDate;
    }
    public void setImportantDate(List<Date>importantDate) {
        this.importantDate = importantDate;
    }
    public String toString() {
        return "用户ID号为："+getId()+"; 用户名为："+getUsername()+"; 用户重要日期："+getImportantDate();
    }
}
